Skip to content

Rename CloudWatch o-tel commands to otel with hidden backward-compatibility#10228

Merged
ashovlin merged 1 commit intoaws:developfrom
gcacace:rename-otel-develop
Apr 23, 2026
Merged

Rename CloudWatch o-tel commands to otel with hidden backward-compatibility#10228
ashovlin merged 1 commit intoaws:developfrom
gcacace:rename-otel-develop

Conversation

@gcacace
Copy link
Copy Markdown
Contributor

@gcacace gcacace commented Apr 17, 2026

Rename the 3 CloudWatch OTel enrichment CLI commands from o-tel to otel naming, consistent with the OpenTelemetry (https://opentelemetry.io/) community convention:

  • get-o-tel-enrichment → get-otel-enrichment
  • start-o-tel-enrichment → start-otel-enrichment
  • stop-o-tel-enrichment → stop-otel-enrichment

The old o-tel names are kept as hidden aliases for backward compatibility using the existing rename_command / make_hidden_command_alias utilities.

Changes:

  • Added awscli/customizations/cloudwatch.py with a building-command-table.cloudwatch event handler that renames the commands and registers hidden aliases.
  • Registered the handler in awscli/handlers.py.
  • Added functional tests verifying both old and new command names work.
  • Added a changelog entry.

…aliases

Rename the 3 CloudWatch OTel enrichment CLI commands from o-tel to otel
naming, consistent with the OpenTelemetry community convention:
- get-o-tel-enrichment -> get-otel-enrichment
- start-o-tel-enrichment -> start-otel-enrichment
- stop-o-tel-enrichment -> stop-otel-enrichment

The old o-tel names are kept as hidden/undocumented aliases for backward
compatibility.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.43%. Comparing base (c4681b5) to head (008b808).
⚠️ Report is 292 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #10228      +/-   ##
===========================================
+ Coverage    93.39%   93.43%   +0.04%     
===========================================
  Files          210      211       +1     
  Lines        17052    17247     +195     
===========================================
+ Hits         15925    16115     +190     
- Misses        1127     1132       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ashovlin ashovlin merged commit 83b78ba into aws:develop Apr 23, 2026
49 checks passed
aws-sdk-python-automation added a commit that referenced this pull request Apr 23, 2026
* release-1.44.85:
  Bumping version to 1.44.85
  Update changelog based on model updates
  Update CloudWatch otel alias strategy for botocore compatibility (#10243)
  Rename CloudWatch o-tel commands to otel with hidden backward-compat aliases (#10228)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants